-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pattern overrides] Allow multiple attributes overrides #57573
Conversation
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ lib/experimental/blocks.php ❔ lib/experimental/connection-sources/index.php |
Size Change: +49 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested well for me, I was able to:
✅ Set pattern overrides checkbox for paragraph blocks in synced pattern
✅ Edit instances of those paragraphs when pattern inserted in a post
✅ See the custom instance content when post viewed in frontend
Was this backported to Core already? |
@youknowriad this was pulled into the work that the block bindings team did to set up the new |
What?
Part of #53705. Based on #56235.
Allow multiple attributes for a given block (`core/image' for instance).
Why?
As requested in #57249 (comment).
How?
Store
overrides
as an object for each id.There might be some manual updates needed in the backend in #57249 to support this.
Testing Instructions
Pattern overrides should still work.
Save the (partially) synced pattern.
Screenshots or screencast
N/A